package org.aurora.framework.boot.common.exception;

/**
 * BaseReason
 * <pre>
 * description: 异常原因
 * create date: 2025-03-21 21:21:28
 * </pre>
 *
 * @author cao.yong
 */
public record BaseReason(int code, String message) implements Reason {
    @Override
    public String toString() {
        return String.format("[%d]: %s", code, message);
    }
}
